import { Module } from '@nestjs/common';
import { WeatherService } from './weather.service';
import { WeatherController } from './weather.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Weather } from '@/module/weather/entities/weather.entity';
import { httpClint } from '@/utils/http.service';
import { HttpModule } from '@nestjs/axios';

@Module({
  controllers: [WeatherController],
  providers: [WeatherService, httpClint],

  exports: [WeatherService],
  imports: [TypeOrmModule.forFeature([Weather]), HttpModule],
})
export class WeatherModule {}
